Companion

object Companion

Contains declarations for holding or building a NonZeroInt.

Functions

Link copied to clipboard
@Since(version = KotoolsTypesVersion.V3_0_0)
fun random(): NonZeroInt

Returns a random NonZeroInt.

Properties

Link copied to clipboard

The maximum value a NonZeroInt can have.

Link copied to clipboard

The minimum value a NonZeroInt can have.

Extensions

Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V4_4_0)
val NonZeroInt.Companion.negativeRange: NotEmptyRange<StrictlyNegativeInt>

The negative range of values a NonZeroInt can have.

Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V4_4_0)
val NonZeroInt.Companion.positiveRange: NotEmptyRange<StrictlyPositiveInt>

The range of positive values a NonZeroInt can have.